package com.campus.entity.Library;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @TableName library_usage
 */
@TableName(value ="library_usage")
@Data
@AllArgsConstructor
public class LibraryUsage implements Serializable {
    private String account;

    private Integer floor;

    public LibraryUsage(String account, Integer floor, Integer rows, Integer column) {
        this.account = account;
        this.floor = floor;
        this.rows = rows;
        this.column = column;
    }

    @TableField("lib_rows")
    private Integer rows;

    @TableField("lib_cols")
    private Integer column;

    private Timestamp beginUsage;

    private Timestamp endUsage;

    private static final long serialVersionUID = 1L;

}